package android.Dominion.GameBLL;

import java.util.ArrayList;
import java.util.List;

import android.Dominion.GameBLL.Cards.Card;
import android.Dominion.GameBLL.Cards.CardFactory;
import android.Dominion.GameBLL.Cards.CardPile;
import android.Dominion.GameBLL.Rules.RuleSet;


public class Game
{

	private List<Player> players;
	private Supply supplyPiles;
	
	private RuleSet rules;
	
	public Game(){
		players = new ArrayList<Player>();
		supplyPiles = new Supply();
		
		
	}
	
	public void CreatePlayers(String[] names){
		for(String name : names){
			Player player = new Player();
			player.setName(name);
			players.add(player);
		}
	}
	
	public void SetupGame(int gameType){
		CardFactory cardFac = new CardFactory();
		
		
		supplyPiles.setTreasures(cardFac.GetTreasureCards(gameType));
		supplyPiles.setVictoryPoints(cardFac.GetVictoryCards(gameType));
		
	}
	
	public void foo(){
		List<CardPile> treasures = supplyPiles.getTreasures();
	
		
		
		
	}
	
	
	
}
